package cn.iocoder.yudao.module.system.dal.dataobject.seatreserve;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 座位预定信息 DO
 *
 * @author Warren365
 */
@TableName("system_seat_reserve")
@KeySequence("system_seat_reserve_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SeatReserveDO extends BaseDO {

    /**
     * 预定状态
     *
     * 枚举 {@link TODO seat_status 对应的类}
     */
    private Integer reserveStatus;
    /**
     * 签到时间
     */
    private LocalDateTime signTime;
    /**
     * 预定ID
     */
    @TableId
    private Long id;
    /**
     * 办公室ID
     */
    private Long officeId;
    /**
     * 预定时间段
     */
    private String reserveTime;
    /**
     * 取消用户ID
     */
    private Long cancelUserid;
    /**
     * 取消时间
     */
    private LocalDateTime cancelTime;
    /**
     * 是否签到
     *
     * 枚举 {@link TODO sign_status 对应的类}
     */
    private Integer isSign;
    /**
     * 预定用户
     */
    private String reserverUsername;
    /**
     * 取消人姓名
     */
    private String cancelUsername;
    /**
     * 座位id
     */
    private Long seatId;
    /**
     * 预定用户ID
     */
    private Long reserverUserid;
    /**
     * 预定日期
     */
    private LocalDateTime reserveDate;

    private Long seatNum;

    private String seatName;

    private String seatRegion;

}